/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fee.entity;

import com.google.common.collect.Lists;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.core.persistence.DataEntity;

import java.util.List;

/**
 * 下游客户Entity
 * @author weisong
 * @version 2017-10-10
 */
public class Consignor extends DataEntity<Consignor> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 名称
	private String address;		// 地址
	private String person;		// 负责人
	private String phone;		// 电话
	private String taxPayerNo;		// 纳税人识别号
	private String bankName;		// 开户行
	private String bankNo;		// 开户行账号
	private String bankAddress;		// 开户行地址
	private List<ShippingAddress> shippingAddressList = Lists.newArrayList();		// 子表列表
	
	public Consignor() {
		super();
	}

	public Consignor(String id){
		super(id);
	}

	@ExcelField(title="名称", align=2, sort=6)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="地址", align=2, sort=7)
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
	@ExcelField(title="负责人", align=2, sort=8)
	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}
	
	@ExcelField(title="电话", align=2, sort=9)
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@ExcelField(title="纳税人识别号", align=2, sort=10)
	public String getTaxPayerNo() {
		return taxPayerNo;
	}

	public void setTaxPayerNo(String taxPayerNo) {
		this.taxPayerNo = taxPayerNo;
	}
	
	@ExcelField(title="开户行", align=2, sort=11)
	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	
	@ExcelField(title="开户行账号", align=2, sort=12)
	public String getBankNo() {
		return bankNo;
	}

	public void setBankNo(String bankNo) {
		this.bankNo = bankNo;
	}
	
	@ExcelField(title="开户行地址", align=2, sort=13)
	public String getBankAddress() {
		return bankAddress;
	}

	public void setBankAddress(String bankAddress) {
		this.bankAddress = bankAddress;
	}
	
	public List<ShippingAddress> getShippingAddressList() {
		return shippingAddressList;
	}

	public void setShippingAddressList(List<ShippingAddress> shippingAddressList) {
		this.shippingAddressList = shippingAddressList;
	}
}